#ifndef	_BSP_USART_H
#define	_BSP_USART_H
#include "stm32f0xx.h"
#include <stdio.h>
#include <stdlib.h>
#include "mytype.h"

#define U2RCV_MAXLEN   50
extern u32 ulRcvCont;

extern u8 u2RcvBuf[U2RCV_MAXLEN];
extern u8 u2RcvOverFlag;


void u2SendByte(int ch);
void u2SendString(u8 *bf);
void	USART2_Config(u32 baud);

#endif


